package com.platform.server.dao;

import java.util.Map;

import com.platform.server.response.pojo.ReturnData;

public interface VipDao {
	
	/**
	 * 查看自己的vip会员
	 */
	Map<String,Object> selectVipPage(String id);
	Map<String,Object> selectAgreement();
	Map<String,Object> selectEquity();
	/**
	 * 成为会员
	 */
	int insertVip(String id,String payMethod,String payMoney,String orderid,String is_auth);
	//成为会员之前查看该用户是否有开通过会员
	Map<String,Object> selectVipCount(String userid);
	//修改该用户的开通会员次数
	int updateVip(String id,String payMethod,String payMoney,String orderid,String counts,String is_auth);
}
